package cn.bs.mapper;

import cn.bs.domain.dao.Type;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TypeMapper extends BaseMapper<Type> {
    Integer getTypeId(String name);

    String getTypeName(Integer type);

    List<Type> getAll();
}
